package com.surfilter.platform.base.model;

public interface Constants {
	/***********************Service Name*************************/
	public final static String SERVICE_PLATFORM = "platformService";
	public final static String SERVICE_USER = "userMgrService";
	public final static String SERVICE_MODULE = "moduleMgrService";
	public final static String SERVICE_ROLE = "roleMgrService";
	/***********************System Config Constants*************************/
	
	public final static String PLATFORM_MODULE_TAG = "platform";
	public final static String PLATFORM_LOGIN_TAG = "login";
	public final static String PLATFORM_CHECK_TAG = "checkLogin";
	public final static String PLATFORM_LOGOUT_TAG = "logout";
	public final static String PLATFORM_FILEUPLOAD_TAG = "uploadFile";
	
	public final static int RESULT_JSON_LEVEL = 5;
	
	public final static String NOT_LOGIN_ERROR_MSG = "用户未登陆，无权执行本次操作";
	public final static String NOT_ACTION_ERROR_MSG = "系统错误，系统未包含或无法处理本次操作";
	public final static String PERMISSION_ERROR_MSG = "用户没有权限执行本次操作";
	public final static String NO_MODULE_ACTION_ERROR_MSG = "系统错误，请求未包含module或action参数";
	
	public final static String NAME_REQUEST_ARRAYTYPE = "arrayType";
	public final static String NAME_REQUEST_MAPNAME = "mapName";
	public final static String NAME_REQUEST_MAPTYPE = "mapType";
	public final static String NAME_REQUEST_INDEX = "index";
	
	public final static String MSG_BLANK = "";
	
	public final static String MODULE_ACTION_SEPERATOR = ":";
	
	public final static String GET_PER_TAG = "per_data";
	public final static String GET_PER_ACTION_TAG = "per_act";
	public final static String MODULE_TAG = "module";
	public final static String ACTION_TAG= "action";

	public final static String LOGIN_USER_TAG = "login_user";
	public final static String LOGIN_SYS_TAG = "login_sys";
	public final static String SESSION_MODULES_TAG = "user_module";
	public final static String SESSION_ACTIONS_TAG = "user_action";
	
	public final static String IMG_PATH = "/resources/imgs/";
	public final static String IMG_COM_PATH = IMG_PATH + "com";
	public final static String IMG_PERSON_PATH = IMG_PATH + "user";
	public final static String IMG_POS_PATH = IMG_PATH + "pos";
	
}
